<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <%@include file="/WEB-INF/pages/header.jsp"%>
    <style>
        #liuChengTable thead th{
            text-align: center;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="panel panel-default">
        <div class="panel-body">
            <form class="form-inline" id="condition" >
                <div class="form-group">
                    <label>病例号:</label>
                    <input type="text" style="width:120px" class="form-control" name="caseNo">
                </div>
                <div class="form-group">
                    <label>患者姓名:</label>
                    <input type="text" style="width:100px" class="form-control" name="memberName">
                </div>
                <div class="form-group">
                    <label>手机号:</label>
                    <input type="text" style="width:150px" class="form-control" name="memberMobile">
                </div>
                <div class="form-group">
                    <label>身份证号:</label>
                    <input type="text" class="form-control" name="memberNo">
                </div>
                <button  type="button" class="btn btn-primary" onclick="search()">查询</button>
            </form>
        </div>
    </div>
    <table data-toggle="table"
            data-striped="true"
           class="text-center"
           data-striped="true"
           data-url="${ctx}/director/viewLiuCheng/searchViewLiuCheng"
           id="liuChengTable"
           data-pagination="true"
           data-side-pagination="server"
           data-page-size="8">
        <thead>
            <tr>
                <th data-field="caseNo">病历号</th>
                <th data-field="treatment.member.memberName">患者姓名</th>
                <th data-field="treatment.user.userName">主治医师</th>
                <th data-field="treatment.reservation.reservationStart">预约开始时间</th>
                <th data-field="treatment.reservation.reservationEnd">预约开始时间</th>
                <th data-field="treatment.treatmentState" data-formatter="formattreatmentState">状态</th>
                <th data-field="treatment.treatmentState" data-formatter="formatOpt">操作</th>
            </tr>
        </thead>
    </table>
</div>

<%@include file="/WEB-INF/pages/footer.jsp"%>
<script src="${ctx}/res/js/viewLiuCheng.js"></script>
</body>
</html>